PROJECT (LabeledMesh)

IF(NOT VTK_BINARY_DIR)
FIND_PACKAGE(VTK REQUIRED)
IF(NOT VTK_USE_RENDERING)
  MESSAGE(FATAL_ERROR "Example ${PROJECT_NAME} requires VTK_USE_RENDERING.")
ENDIF(NOT VTK_USE_RENDERING)
INCLUDE (${VTK_USE_FILE})
ENDIF(NOT VTK_BINARY_DIR)

SET(Libraries vtkRendering)

ADD_EXECUTABLE(${PROJECT_NAME} ${PROJECT_NAME}.cxx)

TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${Libraries})
